package com.fqgj.sentry.controller.pc.request.rule;

import com.fqgj.sentry.controller.pc.request.rule.addAndUpdate.RuleAddUpdateVo;
import java.io.Serializable;

/**
 * Created by liupengpeng on 2017/8/4.
 */
public class RuleAddVo implements Serializable {
    /**
     * 策略集id
     */
    private Long policySetsId;
    /**
     * 执行者id
     */
    private Long executorId;
    /**
     * 策略ID
     */
    private Long policyId;
    /**
     * 规则名称
     */
    private String name;
    /**
     * 激活状态
     */
    private Integer activeStatus;
    /**
     * 规则
     */
    private RuleAddUpdateVo rule;

    public Long getPolicySetsId() {
        return policySetsId;
    }

    public RuleAddVo setPolicySetsId(Long policySetsId) {
        this.policySetsId = policySetsId;
        return this;
    }

    public Long getExecutorId() {
        return executorId;
    }

    public RuleAddVo setExecutorId(Long executorId) {
        this.executorId = executorId;
        return this;
    }

    public Long getPolicyId() {
        return policyId;
    }

    public RuleAddVo setPolicyId(Long policyId) {
        this.policyId = policyId;
        return this;
    }

    public String getName() {
        return name;
    }

    public RuleAddVo setName(String name) {
        this.name = name;
        return this;
    }

    public Integer getActiveStatus() {
        return activeStatus;
    }


    public RuleAddVo setActiveStatus(Integer activeStatus) {
        this.activeStatus = activeStatus;
        return this;
    }

    public RuleAddUpdateVo getRule() {
        return rule;
    }

    public RuleAddVo setRule(RuleAddUpdateVo rule) {
        this.rule = rule;
        return this;
    }
}
